﻿using EnvDTE;
using EnvDTE80;
using MEFAddin.Interfaces;

namespace MEFAddin.Controllers
{
    public class ToolWindowContext : IToolWindowContext
    {
        /// <summary>
        /// Gets or sets the window.
        /// </summary>
        /// <value>
        /// The window.
        /// </value>
        public Window Window { get; set; }

        /// <summary>
        /// Gets or sets the window2.
        /// </summary>
        /// <value>
        /// The window2.
        /// </value>
        public Window Window2 { get; set; }

        /// <summary>
        /// Gets or sets the control object.
        /// </summary>
        /// <value>
        /// The control object.
        /// </value>
        public dynamic ControlObject { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="ToolWindowContext"/> class.
        /// </summary>
        /// <param name="Window">The window.</param>
        /// <param name="Window2">The window2.</param>
        /// <param name="ControlObject">The control object.</param>
        public ToolWindowContext(Window Window, Window2 Window2, dynamic ControlObject)
        {
            this.Window = Window;
            this.Window2 = Window2;
            this.ControlObject = ControlObject;
        }
    }
}
